package composite.gk1;

/**
 * 顶级抽象父类
 */
public class GkAbstractCource {

    public void addChild(GkAbstractCource course){
        System.out.println("不支持添加子节点操作");
        throw new RuntimeException();
    }

    public String getName(){
        System.out.println("不支持获取名称操作");
        throw new RuntimeException();
    }

    public void info(){
        System.out.println("不支持查询操作");
        throw new RuntimeException();
    }
}
